package cn.org.donald.pojo.entity.game;

import com.baomidou.mybatisplus.annotation.IdType;
import cn.org.donald.framework.base.BaseEntity;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author Donald
 * @since 2020-12-12
 */
@ApiModel(value="Game对象", description="")
public class Game extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "游戏名称")
    private String gameName;

    @ApiModelProperty(value = "类型id")
    private Long typeId;

    @ApiModelProperty(value = "游戏标题")
    private String gameTitle;

    @ApiModelProperty(value = "图片")
    private String picture;

    @ApiModelProperty(value = "平台0:端游;1:手游")
    private Integer platform;

    @ApiModelProperty(value = "是否在线默认0:单机; 1:网游")
    private Integer online;

    @ApiModelProperty(value = "游戏公司")
    private String company;

    @ApiModelProperty(value = "游戏描述")
    private String description;

    @ApiModelProperty(value = "更新日期")
    private Date updateDate;

    public String getGameName() {
        return gameName;
    }

    public void setGameName(String gameName) {
        this.gameName = gameName;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public String getGameTitle() {
        return gameTitle;
    }

    public void setGameTitle(String gameTitle) {
        this.gameTitle = gameTitle;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public Integer getPlatform() {
        return platform;
    }

    public void setPlatform(Integer platform) {
        this.platform = platform;
    }

    public Integer getOnline() {
        return online;
    }

    public void setOnline(Integer online) {
        this.online = online;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    @Override
    public String toString() {
        return "Game{" +
                "gameName='" + gameName + '\'' +
                ", typeId=" + typeId +
                ", gameTitle='" + gameTitle + '\'' +
                ", picture='" + picture + '\'' +
                ", platform=" + platform +
                ", online=" + online +
                ", company='" + company + '\'' +
                ", description='" + description + '\'' +
                ", updateDate=" + updateDate +
                '}';
    }
}
